package com.mls.fivedistrict.dao;

import com.mls.fivedistrict.pojo.Integral;
import com.mls.fivedistrict.pojo.ProductPlan;
import com.mls.fivedistrict.pojo.ProductPlanExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ProductPlanMapper {
    long countByExample(ProductPlanExample example);

    int deleteByExample(ProductPlanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProductPlan record);

    int insertSelective(ProductPlan record);

    List<ProductPlan> selectByExample(ProductPlanExample example);

    ProductPlan selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProductPlan record, @Param("example") ProductPlanExample example);

    int updateByExample(@Param("record") ProductPlan record, @Param("example") ProductPlanExample example);

    int updateByPrimaryKeySelective(ProductPlan record);

    int updateByPrimaryKey(ProductPlan record);

    Integral selectIntegral(Long integralId);


}